The Lord told Oliver Cowdery not just to ask but to ask if the matter he was considering was right. Often, especially when we are inexperienced at receiving answers from our Heavenly Father, it is easier to understand the answer to a simple yes or no question.
"A key to improved prayer is to learn to ask the right questions," taught Elder Richard G. Scott of the Quorum of the Twelve Apostles.1